<html>
<head>
<script type="text/javascript">
function varify(){
var youracct = "kukien@yahoo.com"; //define your username here
var yourpw = "12345"; //define your password here

if(document.getElementById("acct").value != youracct || document.getElementById("pw").value != yourpw){
alert("Your user-name or password is wrong");
return false;
}
document.getElementById("mesg").innerHTML = "Welcome to my stupid site.";
return true;

}
</script>

</head>
<body>
username: NamCam<br />
password: showoutmypw<br />
User name<input id="acct" name="acct" type=textarea value="" /><br />
Password<input id="pw" name="pw" type=password value="" /><br />
<form action="Chi Tiet.html">
<input type=button value="Login" onclick="varify()"/><br />
</form>
<span id="mesg" style="color:#00AA00;"></span>
</body>
</html>